package com.seata.logic.visualize.dto;

import java.math.BigDecimal;

/**
 * @author 蚂蚁会花呗
 * @date 2021/9/9 14:57
 */
public class DecreaseMoneyDto {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 钱数
     */
    private BigDecimal money;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public DecreaseMoneyDto() {
    }

    public DecreaseMoneyDto(Long userId, BigDecimal money) {
        this.userId = userId;
        this.money = money;
    }
}
